Object-Orientation Axiomatised by Dynamic Logic
نویسندگان
چکیده
The eld of object-oriented databases is su ering from the lack of a|widely agreed upon|formal model. In this paper we develop the basics of a formal model for an object-oriented data model (kernel). The formalization is based on dynamic logic: combining many-sorted algebras with states and state transitions. The many-sorted algebras are utilized to model the static aspects, i.e., the value-oriented part of the object model. The state transitions account for the dynamic behavior of the object base due to object modi cations. The main dynamic features that we incorporate in the formal model comprise (object) attribute assignment, object creation, object deletion, and set object manipulation, i.e., removing and inserting elements. The virtues of the proposed model are demonstrated on three sample applications. Dangling references may lead a given program to nonterminate|we will show this fact. Second, a desirable property of a program will be veri ed. Last, the semantics of a simple declarative language for our object model will be speci ed. Utilizing the formal model we are able to prove the correctness of a particular query evaluation plan|called the \nested loop" evaluation.
منابع مشابه
The McKinsey – Lemmon logic is barely canonical
We study a canonical modal logic introduced by Lemmon, and axiomatised by an infinite sequence of axioms generalising McKinsey’s formula. We prove that the class of all frames for this logic is not closed under elementary equivalence, and so is non-elementary. We also show that any axiomatisation of the logic involves infinitely many non-canonical formulas. MSC2000: 03B45.
متن کاملA Timed Rewriting Logic Semantics for SDL: A Case Study of the Alternating Bit Protocol
SDL is an industrial standard formal description technique for telecommunication systems. Despite its wide spread use and industrial importance it lacks at present an adequate formal semantics integrating its static, dynamic, and real{time aspects. Timed Rewriting Logic (TRL) is a new variant of Rewriting Logic, an algebraic formalism which allows the dynamic behaviour of systems to be axiomati...
متن کاملA timed rewriting logic semantics for SDL: A case study of alternating bit protocol
SDL is an industrial standard formal description technique for telecommunication systems. Despite its wide spread use and industrial importance it lacks at present an adequate formal semantics integrating its static, dynamic, and real{time aspects. Timed Rewriting Logic (TRL) is a new variant of Rewriting Logic, an algebraic formalism which allows the dynamic behaviour of systems to be axiomati...
متن کاملA Formalization of Objects Using Equational Dynamic Logic
Order-sorted equational logic is extended with dynamic logic to a specification language for dynamic objects. Special attention is paid to different concepts of encapsulation that play a role in object-orientation. It is argued that the resulting language, CMSL, meets those requirements of the object-oriented database system manifesto [6] that are applicable to object-oriented conceptual models...
متن کاملAn Object-Oriented Dynamic Logic with Updates
With the goal of this thesis being to create a dynamic logic for objectoriented languages, ODL is developed along with a sound and relatively complete calculus. The dynamic logic contains only the absolute logical essentials of object-orientation, yet still allows a “natural” representation of all other features of common object-oriented programming languages. ODL is an extension of a dynamic l...
متن کامل